package com.itheima.service.oms;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.dto.oms.OrderDeliveryDto;
import com.itheima.dto.oms.OrderMoneyDto;
import com.itheima.dto.oms.OrderPageDto;
import com.itheima.dto.oms.OrderReceiverDto;
import com.itheima.utils.PageResult;
import com.itheima.vo.oms.OmsOrder;
import com.itheima.vo.oms.OrderDetailVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 订单表 服务类
 * </p>
 *
 * @author 王志斌
 * @since 2022-07-06
 */
public interface IOmsOrderService extends IService<OmsOrder> {


    void delete(List<Integer> ids);

    void updateOrderMoney(OrderMoneyDto dto);

    void updateOrderReceiver(OrderReceiverDto dto);

    void close(Map map);

    void delivery(List<OrderDeliveryDto> list);

    Integer note(Map<String, String> map);

    OrderDetailVo findById(Integer id);

    PageResult list(OrderPageDto dto);
}
